package test3;

public class Test4 {
    public static void main(String[] args) {
        Day d = Day.FRIDAY;

        whatDay(d);
    }

    private static void whatDay(Day d) {
        switch (d){
            case FRIDAY:
                System.out.println("周末到咯！~");
                break;
            case MONDAY:
                System.out.println("打工人的一周开始了😒");
                break;
            case SUNDAY:
            case SATURDAY:
                System.out.println("愉快的周末！");
                break;
            default:
                System.out.println("平常的一天");
                break;
        }
    }
}
